<div *ngIf="hero">
  <h2>{{hero.name}} details!</h2>
  <div><label>id：</label>{{hero.id}}</div>
  <div>
    <label>name：</label>
    <input [(ngModel)]="hero.name" placeholder="name">
    {{hero.name}}
  </div>
</div>
<button (click)="goBack()">Back</button>
<button (click)="save()">Save</button>
